package com.vogue.supplymall.admin.business.common.constant;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import com.vogue.supplymall.admin.business.common.inter.bean.InterCachePayValues;

import java.io.Serializable;

/**
 * The type Cached value.
 *
 * @author zhangliang  Create in 2018-10-22
 */
@Component
public class CachedPayValues implements Serializable, InterCachePayValues {
    private static final long serialVersionUID = -5809782578272943999L;

    /** 对接吾享支付接口加密公钥（吾享提供） */
    @Value("${pay.wuxiang.publickey}")
    private String payWuxiangPublickey64 = null;

    /** 对接吾享支付接口撤销支付接口 */
    @Value("${pay.wuxiang.commPayCancelUrl}")
    private String payWuxiangCommPayCancelUrl = null;

    /** 对接吾享支付接口获取支付二维码连接接口地址 */
    @Value("${pay.wuxiang.commPayGetUrl}")
    private String payWuxiangCommPayGetUrl = null;

    /** 对接吾享支付接口获取商龙云钱包支付接口地址 */
    @Value("${pay.wuxiang.pursePayGetUrl}")
    private String payWuxiangPursePayGetUrl = null;

    /** 对接吾享支付接口支付成功回调密钥 */
    @Value("${pay.wuxiang.callBack.secretKey}")
    private String payWuxiangCallbackSecretKey = null;

    /** 对接吾享支付接口支付状态查询地址 */
    @Value("${pay.wuxiang.stateQueryUrl}")
    private String payWuxiangStateQueryUrl = null;

    /** 对接吾享支付接口关闭待支付的网上支付订单 */
    @Value("${pay.wuxiang.commPayCloseUrl}")
    private String payWuxiangCommPayCloseUrl = null;

    /**
     * 对接吾享支付接口加密公钥（吾享提供）
     * @return the pay wuxiang publickey 64
     */
    public String getPayWuxiangPublickey64() {
        return payWuxiangPublickey64;
    }

    /**
     * 对接吾享支付接口加密公钥（吾享提供）
     * @param payWuxiangPublickey64 the pay wuxiang publickey 64
     */
    public void setPayWuxiangPublickey64(String payWuxiangPublickey64) {
        this.payWuxiangPublickey64 = payWuxiangPublickey64;
    }

    /**
     * 对接吾享支付接口撤销支付接口
     * @return the pay wuxiang comm pay cancel url
     */
    public String getPayWuxiangCommPayCancelUrl() {
        return payWuxiangCommPayCancelUrl;
    }

    /**
     * 对接吾享支付接口撤销支付接口
     * @param payWuxiangCommPayCancelUrl the pay wuxiang comm pay cancel url
     */
    public void setPayWuxiangCommPayCancelUrl(String payWuxiangCommPayCancelUrl) {
        this.payWuxiangCommPayCancelUrl = payWuxiangCommPayCancelUrl;
    }

    /**
     * 对接吾享支付接口获取支付二维码连接接口地址
     * @return the pay wuxiang comm pay get url
     */
    public String getPayWuxiangCommPayGetUrl() {
        return payWuxiangCommPayGetUrl;
    }

    /**
     * 对接吾享支付接口获取支付二维码连接接口地址
     * @param payWuxiangCommPayGetUrl the pay wuxiang comm pay get url
     */
    public void setPayWuxiangCommPayGetUrl(String payWuxiangCommPayGetUrl) {
        this.payWuxiangCommPayGetUrl = payWuxiangCommPayGetUrl;
    }

    /**
     * 对接吾享支付接口获取商龙云钱包支付接口地址
     * @return the pay wuxiang purse pay get url
     */
    public String getPayWuxiangPursePayGetUrl() {
        return payWuxiangPursePayGetUrl;
    }

    /**
     * 对接吾享支付接口获取商龙云钱包支付接口地址
     * @param payWuxiangPursePayGetUrl the pay wuxiang purse pay get url
     */
    public void setPayWuxiangPursePayGetUrl(String payWuxiangPursePayGetUrl) {
        this.payWuxiangPursePayGetUrl = payWuxiangPursePayGetUrl;
    }

    /**
     * 对接吾享支付接口支付成功回调密钥
     * @return the pay wuxiang callback secret key
     */
    public String getPayWuxiangCallbackSecretKey() {
        return payWuxiangCallbackSecretKey;
    }

    /**
     * 对接吾享支付接口支付成功回调密钥
     * @param payWuxiangCallbackSecretKey the pay wuxiang callback secret key
     */
    public void setPayWuxiangCallbackSecretKey(String payWuxiangCallbackSecretKey) {
        this.payWuxiangCallbackSecretKey = payWuxiangCallbackSecretKey;
    }

    /**
     * 对接吾享支付接口支付状态查询地址
     * @return the pay wuxiang state query url
     */
    public String getPayWuxiangStateQueryUrl() {
        return payWuxiangStateQueryUrl;
    }

    /**
     * 对接吾享支付接口支付状态查询地址
     * @param payWuxiangStateQueryUrl the pay wuxiang state query url
     */
    public void setPayWuxiangStateQueryUrl(String payWuxiangStateQueryUrl) {
        this.payWuxiangStateQueryUrl = payWuxiangStateQueryUrl;
    }

    /**
     * 对接吾享支付接口关闭待支付的网上支付订单
     * @return the pay wuxiang comm pay close url
     */
    public String getPayWuxiangCommPayCloseUrl() {
        return payWuxiangCommPayCloseUrl;
    }

    /**
     * 对接吾享支付接口关闭待支付的网上支付订单
     * @param payWuxiangCommPayCloseUrl the pay wuxiang comm pay close url
     */
    public void setPayWuxiangCommPayCloseUrl(String payWuxiangCommPayCloseUrl) {
        this.payWuxiangCommPayCloseUrl = payWuxiangCommPayCloseUrl;
    }
}
